<?php
define('IN_INDEX', true);
include '../../../../global.php';
if(isset($_GET['user'])){
$look = $engine->result("SELECT look FROM users WHERE username='$_GET[user]'");
if(isset($look)) { $okay = '0'; } else { $okay = '1'; }
} else { $okay = '0'; }
if($okay == '1'){
header( "Content-type: image/gif" );
echo file_get_contents("http://www.habbo.com/habbo-imaging/avatar/$look.gif");
} else {
header( "Content-type: image/gif" );
echo file_get_contents("http://www.habbo.com/habbo-imaging/avatar/hr-893-45.hd-209-2.ch-215-62.lg-270-64.sh-300-62.ea-1401-62.ca-1804-73.wa-2001,s-0.g-1.d-3.h-3.a-0,11432dc9b9442ee2db535676bc814363.gif");
}
?>